import { createRouter, createWebHistory } from 'vue-router'
import { useSSIDStore, usePortStore } from '@/stores/index'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [

    {
      path: '/',
      name: 'home',
      component: () => import('@/views/home/index.vue'),
      children: [
        {
          redirect: '/PocketAI',
          path: '/',
        },
        {
          path: '/personnelInformation',
          name: 'personnelInformation',
          component: () => import('@/views/personnelInformation/index.vue'),

        },
        {
          path: '/PocketAI',
          name: 'PocketAI',
          component: () => import('@/views/PocketAI/index.vue'),

        },
        {
          path: '/setUp',
          name: 'setUp',
          component: () => import('@/views/setUp/index.vue')
        },
      ]
    },
  ]
})


export default router
